package com.recource.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author yujie
 * @createTime 2023/5/7 10:43
 * @description
 */
@Data
@TableName("t_config")
public class Config {
    @TableId(value = "id", type = IdType.AUTO)

    private Integer id;

    @TableField(value = "uid")
    private Integer uid;

    @TableField(exist = false)
    private Users user;

    @TableField(value = "api")
    private String api;

    @TableField(value = "date")
    private Date date;
}
